Restrict

annotation class Restrict(val min: Short = Short.MIN_VALUE, val max: Short = Short.MAX_VALUE)

Annotation-driven validation for Shorts

Author

fzzyhmstrs

Since

0.2.0

Parameters

min

: Short - minimum allowable value, default to Short.MIN_VALUE

max

: Short - maximum allowable value, default to Short.MAX_VALUE

Properties

Link copied to clipboard
val max: Short
Link copied to clipboard
val min: Short